<?php 
session_start();
$salir=$_REQUEST;
if(isset($salir)){
session_destroy();
header("Location: index.php");}
?>